package com.cqcvc.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "设备管理")
@RequestMapping("/device")
public class DeviceController {

    @GetMapping("/list")
    @ApiOperation(value = "设备列表")
    public String getDeviceList(){
        return "success";
    }

    @PostMapping("/add")
    @ApiOperation(value = "添加设备")
    public String addDevice(){
        return "success";
    }

}
